package com.twu.biblioteca;

/**
 * Created by phazel on 16/04/14.
 */
public class Movie
{
    String title;
    int year;
    String director;
    String rating;

    public Movie( String title, int year, String director, String rating )
    {
        this.title = title;
        this.year = year;
        this.director = director;
        this.rating = rating;
    }

    public String toString()
    {
        String info = "Title: " + title;
        info += "\nYear: " + year;
        info += "\nDirector: " + director;
        info += "\nRating: " + rating;

        return info;
    }
}
